package com.tt.vtg.scenario.http;

import io.netty.handler.codec.http.FullHttpResponse;

public class HttpJsonResponse<T> {
    private T obj;
    private FullHttpResponse httpResponse;

    public HttpJsonResponse(FullHttpResponse httpResponse, T t){
        this.obj = t;
        this.httpResponse = httpResponse;
    }

    public T getObj() {
        return obj;
    }

    public void setObj(T obj) {
        this.obj = obj;
    }

    public FullHttpResponse getHttpResponse() {
        return httpResponse;
    }

    public void setHttpResponse(FullHttpResponse httpResponse) {
        this.httpResponse = httpResponse;
    }
}
